package com.d3works.apps.bpm.service.execution;

import com.d3works.apps.bpm.db.WkfTaskConfig;
import com.d3works.apps.tool.context.FullContext;
import com.d3works.auth.db.User;
import com.google.inject.persist.Transactional;
import org.camunda.bpm.engine.delegate.DelegateExecution;

public interface WkfUserActionService {

  @Transactional
  public void createUserAction(WkfTaskConfig wkfTaskConfig, DelegateExecution execution);

  public String processTitle(String title, FullContext wkfContext);

  public FullContext getModelCtx(WkfTaskConfig wkfTaskConfig, DelegateExecution execution)
      throws ClassNotFoundException;

  public User getUser(String userPath, FullContext wkfContext);
}
